package com.example.boot;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
import com.example.boot.bean.Pull;
import com.example.boot.bean.User;
import com.example.boot.mapper.PullMapper;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.test.context.junit4.SpringRunner;

import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import java.util.stream.Stream;

@RunWith(SpringRunner.class)
@SpringBootTest
public class rr {

    @Autowired
    RedisTemplate redisTemplate;
    @Autowired
    PullMapper pullMapper;
    @Test
    public void test3(){
        redisTemplate.opsForZSet().removeRange("noAdmin2",0,-1);
        redisTemplate.opsForZSet().removeRange("1a",0,-1);
        redisTemplate.opsForZSet().removeRange("2a",0,-1);
        redisTemplate.opsForZSet().removeRange("3a",0,-1);
        redisTemplate.opsForZSet().removeRange("4a",0,-1);
        redisTemplate.opsForZSet().removeRange("5a",0,-1);
        redisTemplate.opsForZSet().removeRange("6a",0,-1);
        redisTemplate.opsForZSet().removeRange("Ids01",0,-1);
        redisTemplate.opsForZSet().removeRange("count01",0,-1);
       // redisTemplate.opsForZSet().remove(1+"a","2");







    }

}
